CallCoercionHandler
TheCallCoercionHandler
method coerces the specified descriptor to a different type.
void CallCoercionHandler (in ODPart thePart, in ODDesc theODDesc, in ODDescType toType, in ODDesc theResult);
thePart
- A reference to a part associated with this semantic interface object.
theODDesc
- A reference to a descriptor to coerce.
toType
- The type of the coerced descriptor.
theResult
- A reference to the resulting coerced descriptor.
DISCUSSION
OpenDoc does not chain coercion handlers together. For example, an embedded part does not inherit the coercion handler of its containing part, and a part does not inherit the coercion handler of the document shell.EXCEPTIONS
The Apple Event Manager may throw an exception if this semantic interface does not support the specified coercion.This method may throw platform-specific exceptions.
SEE ALSO
TheODDescType
type (page 925).
The ODDesc class (page 104).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help